#include "BaseLifeMonitor.h"

using namespace view;

BaseLifeMonitor::BaseLifeMonitor(void) : SDLProgressMonitor()
{
}

BaseLifeMonitor::BaseLifeMonitor(int min, int max, int current) : SDLProgressMonitor(min, max, current)
{
}

BaseLifeMonitor::~BaseLifeMonitor(void)
{
}

void BaseLifeMonitor::update(Observable* baseLifeProperty)
{
	BaseLifeProperty* baseLife = static_cast<BaseLifeProperty*>(baseLifeProperty);
	currentProgress = baseLife->getProgress();
}
